package com.aijk.base.entity;

/**
 * User: chendw
 * Date: 2016/7/19 10:56
 * To change this template use File | Settings | File Templates.
 */
public enum PushAppEnums {
    /**
     * 居民端
     */
    resident("resident"),
    /**
     * 家医端
     */
    family_doctor("family_doctor"),

    /**
     * 会诊医生端
     */
    major_doctor("major_doctor"),

    /**
     * 转诊助手端
     */
    assistant_referral("assistant_referral");
    
    private String value;

    PushAppEnums(String value) {
        this.value = value;
    }

    public String value() {
        return this.value;
    }

    public static PushAppEnums get(String value) {
        for (PushAppEnums item : PushAppEnums.values()) {
            if (item.value().equals(value)) {
                return item;
            }
        }
        return null;
    }
}
